package file;

import java.io.File;
import java.io.IOException;

public class RelativeAbsolutePathTest {
	
	public static void main(String[] args) throws IOException {
		
		File f1 = new File(".");
		System.out.println("f1: " + f1.getAbsolutePath());
		
		File f2 = new File("..");
		System.out.println("f2: " + f2.getAbsolutePath());
		
		System.out.println("f1: " + f1.getCanonicalPath());
		System.out.println("f2: " + f2.getCanonicalPath());
		
	}
	
}
